package com.gensdai.leliang.common.bean;

import com.bluelinelabs.logansquare.annotation.JsonField;
import com.bluelinelabs.logansquare.annotation.JsonObject;

/**
 * app更新信息
 * Created by LT on 2017/6/26.
 */
@JsonObject
public class UpdateInfoBean {
    /**
     * content : 感谢您使用乐粮APP，为了您获取更好的用户体验，我们对系统进行了升级优化，您在使用过程中可能会出现新旧版本不兼容的情况，建议您立即升级
     * forceUpdate : 0
     * id : 2
     * image : /common/views/images/111.png
     * isShow : no
     * jumpPageName :
     * phoneType : android
     * showPage : 感谢您使用乐粮APP，为了您获取更好的用户体验，我们对系统进行了升级优化，您在使用过程中可能会出现新旧版本不兼容的情况，建议您立即升级
     * updateTime : {"date":1,"day":4,"hours":9,"minutes":55,"month":11,"nanos":0,"seconds":51,"time":1480557351000,"timezoneOffset":-480,"year":116}
     * url : https://www.lelong1788.com
     * version : 1.0.1
     */

   @JsonField public String content;
   @JsonField public int forceUpdate;
   @JsonField public int id;
   @JsonField public String image;
   @JsonField public String isShow;
   @JsonField public String jumpPageName;
   @JsonField public String phoneType;
   @JsonField public String showPage;
   @JsonField public UpdateTimeBean updateTime;
   @JsonField public String url;
   @JsonField public String version;


    @JsonObject
    public static class UpdateTimeBean {
        /**
         * date : 1
         * day : 4
         * hours : 9
         * minutes : 55
         * month : 11
         * nanos : 0
         * seconds : 51
         * time : 1480557351000
         * timezoneOffset : -480
         * year : 116
         */

        @JsonField  public String date;
        @JsonField  public String day;
        @JsonField  public String hours;
        @JsonField  public String minutes;
        @JsonField  public String month;
        @JsonField  public String nanos;
        @JsonField  public String seconds;
        @JsonField  public long time;
        @JsonField  public String timezoneOffset;
        @JsonField  public String year;
    }
}
